package group.teachingmanagerbk.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import group.teachingmanagerbk.entity.po.Course;
import group.teachingmanagerbk.entity.po.Score;
import group.teachingmanagerbk.mapper.ScoreMapper;
import group.teachingmanagerbk.service.ScoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ScoreServiceImpl extends ServiceImpl<ScoreMapper, Score> implements ScoreService {


    @Autowired
    private ScoreMapper scoreMapper;

    @Override
    public Object queryStudentScores(Integer id) {
        return scoreMapper.selectAllScore(id);
    }

}
